<div class="mymsg" id='row_<?= $row['sms_id']?>'>
	<div class="friend-head">
   	 <div class="avatar50">
		<i:avatar xmlns:i="178" uid="<?=$row['sms_reciverid']?>" size="50"  border="false" username="<?= $row['sms_reciver']?>" title="<?= $row['sms_reciver']?>" addlink="true" link="/?uid=<?=$row['sms_reciverid']?>"/>
        </div>
        <div class="friend-name">
		<i:name xmlns:i="178" length ="9" uid="<?=$row['sms_reciverid']?>" username="<?= $row['sms_reciver']?>"/>
		<?php if($row['sms_recive_num']>1):?>
		<br>等<?=$row['sms_recive_num']?>人
		<?php endif;?>
        </div>
	</div>
	<div class="msg-main">
		<div class="msg-title">	
			<div class="msg-tools">
			<a href="<?=$this->_makeURL('sms','index','view_read', array('sms_id'=>$row['sms_pid']))?>" >回复</a>
			<span class="spacing-line">|</span>
			<a href="<?= $this->_makeURL('sms','index','view_read', array('sms_id'=>$row['sms_pid'],'id'=>$row['sms_pid']))?>">查看对话(<?= $row['sms_total_num']?>条 )</a>
			<span class="spacing-line">|</span>
			<a href="<?= $this->_makeURL('sms','index','view_send_form', array('sms_id'=>$row['sms_pid'],'id'=>$row['sms_pid'], 'forward'=>1))?>">转发</a>
			<span class="spacing-line">|</span>
			<a class="delete-link" href="<?= $this->_makeURL('sms','index','remove')?>?id=<?=$row['sms_id'] ?>">删除</a></div>
			<div class="msg-time"><span><input type="checkbox"  name="sms_id" id="sms_id" value="<?=$row['sms_id'].':'.$row['sms_id']?>" onclick="checkMySelect()"></Span>
			<span><?= Util::formatTime($row['sms_dateline'])?></span></div>
		</div>
		
		<div class="msg-content">
		<?if($row['sms_title']):?>
			<h3><?= $row['sms_title']?></h3>
		<?endif;?>	
			<script>
				UBBCode.output("<?= sms_util_text::formatOutputContent($row['sms_content'])?>");
			</script>  
	 	</div>
	</div>
</div>

